import ISocketPageForm from '@/model/form/socket/ISocketPageForm'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import ISocketPageVO from '@/model/vo/socket/ISocketPageVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询 socket连接记录
export default function socketPageApi(form: ISocketPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<ISocketPageVO>>>,
    ISocketPageForm
  >('/socket/page', form)
}
